package com.campsys.domain.param;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class ClazzAddParam {

    @NotBlank(message = "班级名称不为空")
    private String name;
    private String classDesc;
    @NotNull(message = "关联教师不为空")
    private Long teacherId;
    @NotNull(message = "关联活动不为空")
    private Long activityId;
}
